package org.jivesoftware.smack.util;

public class Base64Encoder
  implements StringEncoder
{
  private static Base64Encoder instance = new Base64Encoder();

  public static Base64Encoder getInstance()
  {
    return instance;
  }

  public String encode(String paramString)
  {
    return Base64.encodeBytes(paramString.getBytes());
  }

  public String decode(String paramString)
  {
    return new String(Base64.decode(paramString));
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smack.util.Base64Encoder
 * JD-Core Version:    0.6.1
 */